package com.hk.model.vo.picture;

import com.hk.model.vo.user.UserVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 图片
 *
 * @author 20231
 */
@Data
public class PictureVO implements Serializable {
    @ApiModelProperty(value = "图片 id")
    private Long id;

    @ApiModelProperty(value = "图片 url")
    private String url;

    @ApiModelProperty(value = "图片名称")
    private String name;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "分类")
    private String category;

    @ApiModelProperty(value = "标签（JSON 数组）")
    private List<String> tagsList;

    @ApiModelProperty(value = "图片体积")
    private Long picSize;

    @ApiModelProperty(value = "图片宽度")
    private Integer picWidth;

    @ApiModelProperty(value = "图片高度")
    private Integer picHeight;

    @ApiModelProperty(value = "图片宽高比例")
    private Double picScale;

    @ApiModelProperty(value = "图片格式")
    private String picFormat;

    @ApiModelProperty(value = "创建用户 id")
    private Long userId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建用户信息")
    private UserVO userVO;

    @ApiModelProperty(value = "状态：0-待审核; 1-通过; 2-拒绝  ")
    private Integer reviewStatus;

    @ApiModelProperty(value = "审核信息")
    private String reviewMessage;

    @ApiModelProperty(value = "审核人 id  ")
    private Long reviewerId;

    @ApiModelProperty(value = "审核时间")
    private Date reviewTime;

    @ApiModelProperty(value = "空间id")
    private Long spaceId;

    @ApiModelProperty(value = "图片主色调")
    private String picColor;

    /**
     * 权限列表
     */
    private List<String> permissionList = new ArrayList<>();


    private static final long serialVersionUID = -6342674341614767433L;

}